<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
String path = request.getContextPath();
int port = request.getServerPort();
String basePath = null; 
if(port==80){
	basePath = request.getScheme()+"://"+request.getServerName()+path;
}else{
	basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path;
}
pageContext.setAttribute("basePath", basePath);
pageContext.setAttribute("path", path);
%>
<html>
<link rel="stylesheet" href="${path}/static/css/list.css"/>
<body style="text-align: center">
	<div style="margin:0 auto;width:50%;border:1px solid red;height:100%">
		 <table class="tableList" cellpadding="0" cellspacing="0">
					<tr>
						<td class="tdLabel_4">表名</td>
						<td class="tdLabel_4">导入结果</td>
					</tr>
					<tbody>
						<c:forEach var="result" items="${results}">
							<tr>
								<td class='tdLabel_5'>${result.data}</td>
								<td class='tdLabel_5'>${result.msg}</td>
							</tr>
						</c:forEach>
					</tbody>
				</table> 
	</div>
</body>
</html>
